﻿
echo reset IIS
echo iisreset

echo beging copy componet dll to portal and appserver

copy .\Entity\bin\Debug\UFIDA.U9.Learn.ItemBE.Deploy.dll  D:\yonyou\U9CE\Portal\ApplicationLib
copy .\Entity\bin\Debug\UFIDA.U9.Learn.ItemBE.Deploy.pdb  D:\yonyou\U9CE\Portal\ApplicationLib

copy .\Entity\bin\Debug\UFIDA.U9.Learn.ItemBE.dll  D:\yonyou\U9CE\Portal\ApplicationServer\Libs

copy .\Entity\bin\Debug\UFIDA.U9.Learn.ItemBE.pdb  D:\yonyou\U9CE\Portal\ApplicationServer\Libs

copy .\Entity\bin\Debug\UFIDA.U9.Learn.ItemBE.Deploy.dll  D:\yonyou\U9CE\Portal\ApplicationServer\Libs

copy .\Entity\bin\Debug\UFIDA.U9.Learn.ItemBE.Deploy.pdb  D:\yonyou\U9CE\Portal\ApplicationServer\Libs



echo begin run build component Script
echo DIR1: .\..\..\Other\\Unconfiged\MetadataScript\
echo DIR2: .\..\..\Other\\Unconfiged\DBScript\
echo .\..\..\UBFCE\U9.VOB.Product.UBF\UBFStudio\Runtime\\..\DBScriptExecutor.exe -connStr "User Id=sa;Password=123qwe!@#;Data Source=localhost;Initial Catalog=U9CEDB;packet size=4096;Max Pool size=500;Connection Timeout=5;persist security info=True;MultipleActiveResultSets=true;" -NotDropDB -NotWriteLog -ExecuteDelete .\..\..\..\Other\\Unconfiged\MetadataScript\ .\..\..\..\Other\\Unconfiged\DBScript\

echo componet  buid end
pause

